<template>
	<view class="some">
		<!-- 导航栏 -->
		<uni-nav-bar left-icon="left" title="添加车辆" left-text="返回" @clickLeft="back" />
		<!-- 图片 -->
		<view class="car">
			<image src="../../static/images/logo1.jpg" class="pre"></image>
		</view>
		<!-- 输入框 -->
		<view class="put">
			<input type="text" class="number" placeholder="请输入车牌号"/>
		</view>
		<!-- 按钮 -->
		<view class="but" @click="tian" >
			<text class="add">添加</text>
		</view>
	</view>
</template>p

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			back(){
				uni.navigateBack({
					delta:1
				})
			},
			tian(){
				uni.navigateTo({
					url:'/pages/mycar/mycar'
				})
			}
		}
	}
</script>

<style lang="less">
	.some{
		width: 100%;
		height: 100%;
		// background-color: blanchedalmond;
		.pre{
			width: 100%;
			height: 242rpx;
		}
		.put{
			height: 94rpx;
			background-color:#f6f6f6 ;
			margin: 98rpx 59rpx 106rpx 54rpx;
			.number{
				padding-left: 42rpx;
				padding-top: 28rpx;
			}
		}
		.but{
			height: 94rpx;
			background-color:#1f8fff ;
			border-radius: 38rpx;
			margin-left: 59rpx;
			margin-right:48rpx;
			.add{
				font-size: 33rpx;
				color: white;
				line-height: 94rpx;
				margin-left:285rpx;
			}
		}
	}
</style>
